﻿using System.Windows;
using System.Windows.Controls;

namespace ComicTool
{
    public partial class OpenURL : ChildWindow
    {
        public OpenURL()
        {
            InitializeComponent();
        }

        private void OKButton_Click(object sender, RoutedEventArgs e)
        {
            this.DialogResult = true;
        }

        private void CancelButton_Click(object sender, RoutedEventArgs e)
        {
            this.DialogResult = false;
        }

        public string URL
        {
            get
            {
                return txtUrl.Text;
            }
        }
    }
}

